package cn.ainit.exchange.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="SYS_EXCHANGE_GROUP")
public class ExchangeGroup  implements java.io.Serializable {
    // Fields    

     private String groupId;
     private String groupName;
     private String stationId;
     private String dataSourceType;
     private String dbi;
     private String userName;
     private String passwd;
     private String url;
     private String memo;

    // Constructors

    /** default constructor */
    public ExchangeGroup() {
    }
   
    // Property accessors
    @Id 
    @Column(name="GROUP_ID", unique=true, nullable=false, length=32)
    
    public String getGroupId() {
        return this.groupId;
    }
    
    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }
    
    @Column(name="GROUP_NAME", nullable=false, length=128)

    public String getGroupName() {
        return this.groupName;
    }
    
    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }
    
    @Column(name="STATION_ID", nullable=false, length=32)

    public String getStationId() {
        return this.stationId;
    }
    
    public void setStationId(String stationId) {
        this.stationId = stationId;
    }
    
    @Column(name="DATA_SOURCE_TYPE", nullable=false)

    public String getDataSourceType() {
        return this.dataSourceType;
    }
    
    public void setDataSourceType(String dataSourceType) {
        this.dataSourceType = dataSourceType;
    }
    
    @Column(name="DBI", length=24)

    public String getDbi() {
        return this.dbi;
    }
    
    public void setDbi(String dbi) {
        this.dbi = dbi;
    }
    
    @Column(name="USER_NAME", length=128)

    public String getUserName() {
        return this.userName;
    }
    
    public void setUserName(String userName) {
        this.userName = userName;
    }
    
    @Column(name="PASSWD", length=128)

    public String getPasswd() {
        return this.passwd;
    }
    
    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }
    
    @Column(name="URL", length=1024)

    public String getUrl() {
        return this.url;
    }
    
    public void setUrl(String url) {
        this.url = url;
    }
    
    @Column(name="MEMO", length=400)

    public String getMemo() {
        return this.memo;
    }
    
    public void setMemo(String memo) {
        this.memo = memo;
    }
}